package com.jdrx.ocp.beans.constans;

/**
 * @Author: Huangxg
 * @Date: 2018/12/3 18:17
 */
public enum EOcpNoticeMq {
    /**
     * 消息通知队列
     */
    OCP_NOTICE_QUEUE("ocp.notice.mq.direct", "ocp.notice.mq.create", "ocp.notice.mq.create"),
    /**
     * 消息通知ttl队列
     */
    OCP_NOTICE_TTL_QUEUE("ocp.notice.mq.topic.ttl", "ocp.notice.mq.create.ttl", "ocp.notice.mq.create.ttl");
    /**
     * 交换名称
     */
    private String exchange;
    /**
     * 队列名称
     */
    private String name;
    /**
     * 路由键
     */
    private String routeKey;

    EOcpNoticeMq(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRouteKey() {
        return routeKey;
    }

    public void setRouteKey(String routeKey) {
        this.routeKey = routeKey;
    }
}